package com.simplehc7878.auth.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@NoArgsConstructor
@Data
@TableName("t_user")
public class User {

    private Long id;

    /** 用户类型 */
    private Integer userType;

    /** 用户名 */
    private String username;

    /** 密码 */
    private String password;

    /** 是否删除 */
    private Boolean isDeleted;

    /** 创建时间 */
    private LocalDateTime createTime;

    /** 最后更新时间 */
    private LocalDateTime lastUpdateTime;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
